package com.xy.service;

import java.util.List;

import com.xy.dao.impl.PageResults;

public interface MyInterface {

  boolean add(Object object);
  boolean update(Object object);
  boolean delete(Object object);
  <T> Object get(int id);
  PageResults listByPage(int page);
  <T> List<Object> list(Class<T> name);
  PageResults query(Object...objects);
  
}
